package miiteen.customsportal.basic.dao;


import miiteen.customsportal.basic.beans.BasicPageBrowsing;
import miiteen.data.dao.impl.BaseDaoImpl;
import org.springframework.stereotype.Repository;

@Repository("basicPageBrowsingDao")
public class BasicPageBrowsingDao extends BaseDaoImpl<BasicPageBrowsing> {
    @Override
    protected String getMapper() {
        return "miiteen.customsportal.basic.beans.BasicPageBrowsing";
    }

    public BasicPageBrowsing getTotalCount(){
        return getSqlSession().selectOne(getMapper()+".getTotalCount");
    }
    public BasicPageBrowsing getTodayCount(){
        return getSqlSession().selectOne(getMapper()+".getTodayCount");
    }
}
